<?php


namespace App\Http\Controllers\Api;


use App\Http\Controllers\Controller;

/**
 * Class IndexController
 * @package App\Http\Controllers\Api
 */
class IndexController extends Controller
{
    /**
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     * @throws \Exception
     */
    public function main()
    {
        return view('index', [
            'js' => env('RESOURCE_JS', mix('js/app.js'))
        ]);
    }
}